//
//  ShoppingDetailModel.m
//  wtshoppingcite
//
//  Created by TW on 14-11-27.
//  Copyright (c) 2014年 TW. All rights reserved.

//@property(retain,nonatomic)NSString *imgPaths;
//@property(retain,nonatomic)NSString *deliveryWayId;
//@property(retain,nonatomic)NSString *deliveryWayName;
//@property(retain,nonatomic)NSString *inclusiveDetails;
//@property(retain,nonatomic)NSString *consumeTips;
//@property(retain,nonatomic)NSString *shopId;
//@property(retain,nonatomic)NSString *shopName;
//@property(retain,nonatomic)NSString *tel;
//@property(retain,nonatomic)NSString *addr;
//@property(retain,nonatomic)NSString *prodQuality;
//@property(retain,nonatomic)NSString *deliverySpeed;
//@property(retain,nonatomic)NSString *serviceAttitude;

#import "ShoppingDetailModel.h"

@implementation ShoppingDetailModel


- (id)initWithShoppingDetailInfo:(NSDictionary *)info{
    if(self = [super init]){
        id shopId = [info objectForKey:@"shopId"];
        self.shopId = ObjToString(shopId);
        
        id shopName = [info objectForKey:@"shopName"];
        self.shopName = ObjToString(shopName);
        
        id tel = [info objectForKey:@"tel"];
        self.tel = ObjToString(tel);
        
        id serviceAttitude = [info objectForKey:@"serviceAttitude"];
        self.serviceAttitude = ObjToString(serviceAttitude);
        
        id deliverySpeed = [info objectForKey:@"deliverySpeed"];
        self.deliverySpeed = ObjToString(deliverySpeed);
        
        
        id addr = [info objectForKey:@"addr"];
        self.addr = ObjToString(addr);
        
        id prodQuality = [info objectForKey:@"prodQuality"];
        self.prodQuality = ObjToString(prodQuality);
    }
    return self;
}

@end
